﻿using System.Collections.Generic;

namespace VOL.WebApi.Common
{
    /// <summary>
    /// API返回结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class APIPaging<T> where T : class
    {
        /// <summary>
        /// 分页数据
        /// </summary>
        public List<T> ListData { get; set; } = null!;
        /// <summary>
        /// 总页
        /// </summary>
        public int TotalCount { get; set; } = 1;
        /// <summary>
        /// 总行
        /// </summary>
        public int TotalPage { get; set; } = 3;
    }
}
